.popup {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0;
    z-index: 9999;
}

.login-wrapper {
    width: 750px;
    height: 320px;
    margin: 15% auto;
    padding: 0;
    overflow: hidden;
    background: #f9f7f6;
    transition: height .5s, margin .5s;
    position: relative;
}

.login-wrapper.sign-up {
    height: 450px;
    margin: 10% auto;
}

.login-wrapper #register-popup {
    display: none;
}

.login-wrapper.sign-up #login-popup {
    display: none;
}

.login-wrapper.sign-up #register-popup {
    display: inherit;
}

.login-wrapper .left {
    width: 330px;
    height: 100%;
    background: url('../images/site-logo-label.png') center no-repeat, #eceae6;
    border-right: 1px solid #ddd;
    opacity: 0.9;
    text-align: center;
}

.login-wrapper .left img {
    margin: 10% 0;
    transition: margin .5s;
    -webkit-animation: circle 5s infinite;
    -moz-animation: circle 5s infinite;
    animation: circle 5s infinite;
}

@-webkit-keyframes circle {
    0%{ -webkit-transform: rotate(0deg); }
100%{ -webkit-transform: rotate(360deg); }
}

@-webkit-keyframes fadeOut {
    0%{ opacity:  0; }
100%{ opacity: 1; }
}

.login-wrapper.sign-up .left img {
    margin: 30% 0;
}

.login-wrapper .right #signin-popup {
    margin-top: 30px;
    transition: margin .5s;
}

.login-wrapper.sign-up .right #signin-popup {
    margin-top: -250px;
    margin-bottom: 7px;
}

.login-wrapper .right {
    margin-left: 7px;
    width: 400px;
}

.login-wrapper .right .button-wrapper {
    margin-top: 20px; 
}

.login-wrapper .right .button-wrapper .action-link {
    display: inline-block;
    width: 100px;
    text-align: left;
    vertical-align: middle;
    color: #43ac9b;
    text-transform: uppercase;
    cursor: pointer;
}

.login-wrapper .right .button-wrapper .action-link:hover {
    text-decoration: underline;
}

.login-wrapper .error-msg {
    position: absolute;
    padding: 10px 20px;
    background: #777;
    z-index: 999;
    color: white;
    left: 0;
    right: 0;
    margin: auto;
    top: 40%;
    border-radius: 2px;
    max-width: 190px;
    text-align: center;
    -webkit-animation: fadeOut .5s;
    -moz-animation: fadeOut .5s;
    animation: fadeOut .5s;
}

.login-wrapper .close-button {
    position: absolute;
    z-index: 99;
    right: 5px;
    top: 5px;
}